package com.lyb.mapper;

import com.lyb.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    List<Article> findPage();

    List<Article> queryList(Integer cid);

    Article queryById(Integer id);

    int save(Article article);

    int update(Article article);

    int delete(Integer id);
}
